package com.example.springbootdemo.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class ApiResponse<T> {
    //返回数据
    private T data;
    //true成功，false失败
    private Boolean success;
    //状态响应码
    private String status;
    //失败响应返回的文字描述
    private String msg;

}